﻿using System;

namespace SBPweb.Forge.Modules.Smartparts
{
    /// <summary>
    /// This enum-flag specifies the available positions for ISmartparts.
    /// Multiple values can be set.
    /// </summary>
    [Flags()]
    public enum Aligning
    {
        /// <summary>
        /// No docking, the window will float.
        /// </summary>
        None = 0,
        /// <summary>
        /// The control fills the available place.
        /// </summary>
        Fill = 1,
        /// <summary>
        /// Dock to the left.
        /// </summary>
        Left = 2,
        /// <summary>
        /// Dock to the right.
        /// </summary>
        Right = 4,
        /// <summary>
        /// Dock to the top.
        /// </summary>
        Top = 8,
        /// <summary>
        /// Dock to the bottom.
        /// </summary>
        Bottom = 16,
        /// <summary>
        /// Set to the foreground.
        /// </summary>
        Front = 32,
        /// <summary>
        /// Set to the background.
        /// </summary>
        Back = 64
    }

}